{% extends "base.html" %} {% block contents %}

팝빌 카카오톡 Django Example.


카카오톡 전송내역 확인
카카오톡 전송내용
  • contentType (카카오톡 유형) : {{ kakaoInfo.contentType }}
  • templateCode (알림톡 템플릿 코드) : {{ kakaoInfo.templateCode }}
  • bmsTemplateCode (브랜드 메시지 템플릿 코드) : {{ kakaoInfo.bmsTemplateCode }}
  • plusFriendID (검색용 아이디) : {{ kakaoInfo.plusFriendID }}
  • targeting (전송대상) : {{ kakaoInfo.targeting }}
  • sendNum (발신번호) : {{ kakaoInfo.sendNum }}
  • unsubscribeNo (080 수신거부 번호) : {{ kakaoInfo.unsubscribeNo }}
  • altSubject (대체문자 제목) : {{ kakaoInfo.altSubject }}
  • altContent (대체문자 내용) : {{ kakaoInfo.altContent }}
  • altSendType (대체문자 유형) : {{ kakaoInfo.altSendType }}
  • altUnsubscribeNo (대체문자 080 수신거부 번호) : {{ kakaoInfo.altUnsubscribeNo }}
  • reserveDT (예약일시) : {{ kakaoInfo.reserveDT }}
  • adsYN (광고전송 여부) : {{ kakaoInfo.adsYN }}
  • sendCnt (전송건수) : {{ kakaoInfo.sendCnt }}
  • successCnt (성공건수) : {{ kakaoInfo.successCnt }}
  • failCnt (실패건수) : {{ kakaoInfo.failCnt }}
  • altCnt (대체문자 건수) : {{ kakaoInfo.altCnt }}
  • cancelCnt (취소건수) : {{ kakaoInfo.cancelCnt }}
  • {% for btn in kakaoInfo.btns %}
    btns ([배열]버튼 목록) [ {{ forloop.counter }} / {{ kakaoInfo.btns|length }} ]
    • n (버튼명) : {{ btn.n }}
    • t (버튼유형) : {{ btn.t }}
    • u1 (버튼링크) : {{ btn.u1 }}
    • u2 (버튼링크) : {{ btn.u2 }}
    • tg (아웃링크) : {{ btn.tg }}
    {% endfor %} {% for msg in kakaoInfo.msgs %}
    msgs (전송결과 정보 배열) [ {{ forloop.counter }} / {{ kakaoInfo.msgs|length }} ]
    • state (상태코드) : {{ msg.state }}
    • sendDT (전송일시) : {{ msg.sendDT }}
    • result (카카오 결과코드) : {{ msg.result }}
    • resultDT (전송결과 수신일시) : {{ msg.resultDT }}
    • contentType (카카오톡 유형) : {{ msg.contentType }}
    • receiveNum (수신번호) : {{ msg.receiveNum }}
    • receiveName (수신자명) : {{ msg.receiveName }}
    • emphasizeTitle (강조표기 타이틀) : {{ msg.emphasizeTitle }}
    • adultYN (성인용 메시지 여부) : {{ msg.adultYN }}
    • header (제목) : {{ msg.header }}
    • content (카카오톡 내용) : {{ msg.content }}
    • addContent (부가메시지) : {{ msg.addContent }}
    • imageUrl (이미지 URL) : {{ msg.imageUrl }}
    • imageLink (이미지 링크 URL) : {{ msg.imageLink }}
    • altSubject (대체문자 제목) : {{ msg.altSubject }}
    • altContent (대체문자 내용) : {{ msg.altContent }}
    • altContentType (대체문자 전송타입) : {{ msg.altContentType }}
    • altSendDT (대체문자 전송일시) : {{ msg.altSendDT }}
    • altResult (대체문자 통신사 결과코드) : {{ msg.altResult }}
    • altResultDT (대체문자 전송결과 수신일시) : {{ msg.altResultDT }}
    • receiptNum (접수번호) : {{ msg.receiptNum }}
    • requestNum (요청번호) : {{ msg.requestNum }}
    • interOPRefKey (파트너 지정키) : {{ msg.interOPRefKey }}
    • {% for btn in msg.btns %}
      btns (버튼 목록) [ {{ forloop.counter }} / {{ msg.btns|length }} ]
      • n (버튼명) : {{ btn.n }}
      • t (버튼유형) : {{ btn.t }}
      • u1 (버튼링크) : {{ btn.u1 }}
      • u2 (버튼링크) : {{ btn.u2 }}
      • tg (아웃링크) : {{ btn.tg }}
      {% endfor %} {% if msg.coupon %}
      coupon (쿠폰 강조)
      • title (쿠폰 제목) : {{ msg.coupon.title }}
      • description (쿠폰 설명) : {{ msg.coupon.description }}
      • linkMobile (Mobile 웹링크) : {{ msg.coupon.linkMobile }}
      • linkPc (PC 웹링크) : {{ msg.coupon.linkPc }}
      • linkAndroid (Android 앱링크) : {{ msg.coupon.linkAndroid }}
      • linkIos (iOS 앱링크) : {{ msg.coupon.linkIos }}
      {% endif %} {% for it in msg.item %}
      item (아이템 목록) [ {{ forloop.counter }} / {{ msg.item|length }} ]
      • title (타이틀) : {{ it.title }}
      • imageUrl (이미지 URL) : {{ it.imageUrl }}
      • linkMobile (Mobile 웹링크) : {{ it.linkMobile }}
      • linkPc (PC 웹링크) : {{ it.linkPc }}
      • linkAndroid (Android 앱링크) : {{ it.linkAndroid }}
      • linkIos (iOS 앱링크) : {{ it.linkIos }}
      {% endfor %} {% if msg.commerce %}
      commerce (커머스 정보)
      • title (상품명) : {{ msg.commerce.title }}
      • regularPrice (정상가격) : {{ msg.commerce.regularPrice }}
      • discountPrice (할인가격) : {{ msg.commerce.discountPrice }}
      • discountRate (할인율) : {{ msg.commerce.discountRate }}
      • discountFixed (할인금액) : {{ msg.commerce.discountFixed }}
      {% endif %} {% if msg.head %}
      head (캐러셀 인트로)
      • header (제목) : {{ msg.head.header }}
      • content (내용) : {{ msg.head.content }}
      • imageUrl (이미지 URL) : {{ msg.head.imageUrl }}
      • linkMobile (Mobile 웹링크) : {{ msg.head.linkMobile }}
      • linkPc (PC 웹링크) : {{ msg.head.linkPc }}
      • linkAndroid (Android 앱링크) : {{ msg.head.linkAndroid }}
      • linkIos (iOS 앱링크) : {{ msg.head.linkIos }}
      {% endif %} {% for car in msg.carousel %}
      carousel (캐러셀 목록) [ {{ forloop.counter }} / {{ msg.carousel|length }} ]
      • header (제목) : {{ car.header }}
      • content (내용) : {{ car.content }}
      • imageUrl (이미지 URL) : {{ car.imageUrl }}
      • imageLink (이미지 링크 URL) : {{ car.imageLink }}
      • addContent (부가메시지) : {{ car.addContent }}
      • {% if car.commerce %}
        commerce (커머스)
        • title (상품명) : {{ car.commerce.title }}
        • regularPrice (정상가격) : {{ car.commerce.regularPrice }}
        • discountPrice (할인가격) : {{ car.commerce.discountPrice }}
        • discountRate (할인율) : {{ car.commerce.discountRate }}
        • discountFixed (할인금액) : {{ car.commerce.discountFixed }}
        {% endif %} {% for btn in car.btns %}
        btns (버튼 목록) [ {{ forloop.counter }} / {{ car.btns|length }} ]
        • t (버튼유형) : {{ btn.t }}
        • n (버튼명) : {{ btn.n }}
        • u1 (버튼링크) : {{ btn.u1 }}
        • u2 (버튼링크) : {{ btn.u2 }}
        {% endfor %} {% if car.coupon %}
        coupon (쿠폰 강조)
        • title (쿠폰 제목) : {{ car.coupon.title }}
        • description (쿠폰 설명) : {{ car.coupon.description }}
        • linkMobile (Mobile 웹링크) : {{ car.coupon.linkMobile }}
        • linkPc (PC 웹링크) : {{ car.coupon.linkPc }}
        • linkAndroid (Android 앱링크) : {{ car.coupon.linkAndroid }}
        • linkIos (iOS 앱링크) : {{ car.coupon.linkIos }}
        {% endif %}
      {% endfor %} {% if msg.tail %}
      tail (캐러셀 더보기)
      • linkMobile (Mobile 웹링크) : {{ msg.tail.linkMobile }}
      • linkPc (PC 웹링크) : {{ msg.tail.linkPc }}
      • linkAndroid (Android 앱링크) : {{ msg.tail.linkAndroid }}
      • linkIos (iOS 앱링크) : {{ msg.tail.linkIos }}
      {% endif %} {% if msg.contentVariable %}
      contentVariable (내용 변수)
        {% for k, v in msg.contentVariable.items %}
      • {{ k }} : {{ v }}
      • {% endfor %}
      {% endif %} {% if msg.buttonVariable %}
      buttonVariable (버튼 변수)
        {% for k, v in msg.buttonVariable.items %}
      • {{ k }} : {{ v }}
      • {% endfor %}
      {% endif %} {% if msg.couponVariable %}
      couponVariable (쿠폰 변수)
        {% for k, v in msg.couponVariable.items %}
      • {{ k }} : {{ v }}
      • {% endfor %}
      {% endif %} {% if msg.commerceVariable %}
      commerceVariable (커머스 변수)
        {% for k, v in msg.commerceVariable.items %}
      • {{ k }} : {{ v }}
      • {% endfor %}
      {% endif %} {% for cv in msg.carouselVariable %}
      carouselVariable (캐러셀 변수) [ {{ forloop.counter }} / {{ msg.carouselVariable|length }} ]
        {% if cv.contentVariable %}
        contentVariable (내용 변수)
          {% for k, v in cv.contentVariable.items %}
        • {{ k }} : {{ v }}
        • {% endfor %}
        {% endif %} {% if cv.buttonVariable %}
        buttonVariable (버튼 변수)
          {% for k, v in cv.buttonVariable.items %}
        • {{ k }} : {{ v }}
        • {% endfor %}
        {% endif %} {% if cv.couponVariable %}
        couponVariable (쿠폰 변수)
          {% for k, v in cv.couponVariable.items %}
        • {{ k }} : {{ v }}
        • {% endfor %}
        {% endif %} {% if cv.commerceVariable %}
        commerceVariable (커머스 변수)
          {% for k, v in cv.commerceVariable.items %}
        • {{ k }} : {{ v }}
        • {% endfor %}
        {% endif %}
      {% endfor %}
    {% endfor %}
{% endblock contents %}